package com.ask.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LikeMessage {
    private Long blogId;
    private Long userId;
    private Action action;
    // 点赞/取消点赞
    public enum Action {
        LIKE,
        UNLIKE
    }
}
